﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebForms/SiteWF.master" AutoEventWireup="true" CodeBehind="RoomEdit.aspx.cs" Inherits="WaterfrontLodge.WebForms.RoomMgt.RoomEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<fieldset>
    <legend>Edit Room</legend>
    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>

    <table >
        <tr>
            <th align="right" style="width: 181px">
                <asp:Label ID="lblRoomNo" runat="server" Text="Room No.:"></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox ID="txtRoomNo" runat="server" ReadOnly="True" ></asp:TextBox>
                </td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="lblType" runat="server" Text="Type:"></asp:Label></th>
            <td align="left" >
                <asp:DropDownList ID="ddlRoomType" runat="server" 
                    onselectedindexchanged="ddlRoomType_SelectedIndexChanged">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <th align="right" >
                <asp:Label ID="lblStatus" runat="server" Text="Status:"></asp:Label></th>
            <td align="left" >
                <asp:RadioButtonList ID="rdbStatus" runat="server" 
                    RepeatDirection="Horizontal" Width="181px">
                    <asp:ListItem Value="1">Open</asp:ListItem>
                    <asp:ListItem Value="0">Locked</asp:ListItem>
                </asp:RadioButtonList></td>
        </tr>
        <tr>
            <th align="right" style="width: 181px">
                <asp:Label ID="lblRemarks" runat="server" Text="Remarks:"></asp:Label></th>
            <td align="left" >
                <asp:TextBox ID="txtRemarks" runat="server" TextMode="MultiLine" Height="82px" maxlength="256"
                    Width="265px"></asp:TextBox></td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="lblCreated" runat="server" Text="Create Time:"></asp:Label></th>
            <td align="left">
                <asp:TextBox ID="txtCreate" runat="server" ReadOnly="True"></asp:TextBox></td>
        </tr>
    </table>

    <br />
    <asp:Button ID="btnUpdate" runat="server" Text="Update" onclick="btnUpdate_Click"  />
            &nbsp;&nbsp;
    <asp:Button ID="btnCancel" runat="server" onclick="btnCancel_Click" 
        Text="Cancel" CausesValidation="False" />
    </fieldset>
</asp:Content>
